package com.ruoyi.bizsys.enums;

/**
 * @author wqg
 * @description
 * @date 2022/5/6
 */
public enum EnumFeeType {
    /**出账**/
    LOAN_AMT("100001", "放款本金"),
    TRANS_FEE("1000002","交易手续费"),
    OVERPAY_OUT("100003","溢缴款出账"),

    /**入账**/
    REPAID_PRINCIPAL("200001","还款本金"),
    REPAID_SERVICE_FEE("200002","还款服务费"),
    REPAID_INTEREST("200003","还款利息"),
    REPAID_LATE_FEE("200004","还款罚息"),
    BIND_FEE_IN("200005","绑卡金额"),
    OVERPAY_IN("200006","溢缴款入账"),
    REPAID_DEFER_SERVICE_FEE("200007","还款延期服务费"),
    REPAID_DEFER_INTEREST("200008","还款延期利息"),

    /**减免**/
    OFFSET_PRINCIPAL("300001","减免本金"),
    OFFSET_SERVICE_FEE("300002","减免服务费"),
    OFFSET_INTEREST("300003","减免利息"),
    OFFSET_LATE_FEE("300004","减免罚息"),

    /**应还**/
    LOAN_PRINCIPAL("400001", "应还本金"),
    SERVICE_FEE("400002", "应还服务费"),
    LOAN_INTEREST("400003","应还利息"),
    LATE_FEE("400004","应还罚息"),

    /**其他**/
    LOAN_REVER("500001","放款反转"),
    REPAID_REVER("500002","还款反转"),
    ;

    private final String code;
    private final String desc;
    EnumFeeType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
    public String getCode() {
        return code;
    }
    public String getDesc() {
        return desc;
    }
}
